/* ========================================
   STYLE.CSS
   Diseño corporativo azul profesional
======================================== */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --primary: #0b3d91;
  --primary-dark: #072b63;
  --secondary: #1e88e5;
  --light: #f4f8fd;
  --white: #ffffff;
  --text: #1f2937;
  --gray: #6b7280;
  --border: #d9e3f0;
  --shadow: 0 10px 30px rgba(11, 61, 145, 0.08);
  --radius: 14px;
  --transition: all 0.3s ease;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* CONTENEDOR */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========================================
   HEADER
======================================== */

.header {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
}

.logo {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--secondary);
}

/* BOTONES HEADER */

.nav-phone {
  padding: 10px 18px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
}

.nav-phone:hover {
  background: var(--primary);
  color: white;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 61, 145, 0.15);
}

/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  min-width: 230px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: var(--light);
}

/* ========================================
   SOBRE NOSOTROS
======================================== */

section {
  padding: 90px 0;
  background: var(--light);
}

.card {
  background: white;
  padding: 60px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h1 {
  text-align: center;
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 35px;
}

.card p {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 16px;
}

/* ========================================
   INFO GRID
======================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.info-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-box:hover {
  transform: translateY(-6px);
}

.info-box h3 {
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 22px;
}

.info-box i {
  color: var(--secondary);
  margin-right: 8px;
}

.info-box ul {
  padding-left: 18px;
}

.info-box li {
  margin-bottom: 12px;
}

/* ========================================
   EXPERIENCIA
======================================== */

.experiencia {
  margin-top: 70px;
}

.experiencia h2 {
  text-align: center;
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.stat-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 35px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-box h3 {
  font-size: 42px;
  margin-bottom: 10px;
  color: white;
}
.stat-box p {
  font-size: 22px;
  margin-bottom: 10px;
  color: white;
}

/* ========================================
   POR QUÉ ELEGIRNOS
======================================== */

section h3 {
  margin-top: 70px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 30px;
  color: var(--primary);
}


.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.why-box {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  border-left: 5px solid var(--secondary);
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-height: 220px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-box:hover {
  transform: translateY(-5px);
}

.why-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  margin-top: 0;
  text-align: left;
  color: var(--primary);
}
/* ================= CTA CORPORATIVO ================= */

.corporate-cta{
  margin-top: 80px;
  padding: 60px 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(135deg, rgba(39, 97, 184, 0.96), rgba(17,45,78,0.94)),
    url("../img/logistica-bg.jpg") center/cover no-repeat;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.18);

  text-align: center;
  color: #fff;

  border: 1px solid rgba(255,255,255,0.08);
}

/* efecto suave decorativo */
.corporate-cta::before{
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(100, 134, 245, 0.04);
  border-radius: 50%;
  top: -120px;
  right: -120px;
}

.corporate-cta::after{
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  bottom: -80px;
  left: -80px;
}

.corporate-cta h2{
  position: relative;
  z-index: 2;

  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.corporate-cta p{
  position: relative;
  z-index: 2;

  max-width: 850px;
  margin: 0 auto 35px;

  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

/* BOTÓN CTA */

.corporate-cta .nav-cta{
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 16px 34px;
  border-radius: 12px;

  background: #3ca6f2;
  color: #111;

  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;

  transition: all .35s ease;
  box-shadow: 0 8px 25px rgba(136, 197, 255, 0.35);
}

.corporate-cta .nav-cta:hover{
  transform: translateY(-4px);
  background: #3ca6f2;

  box-shadow: 0 12px 30px rgba(136, 197, 255, 0.35);
}

/* RESPONSIVE */

@media(max-width:768px){

  .corporate-cta{
    padding: 45px 25px;
    margin-top: 60px;
  }

  .corporate-cta h2{
    font-size: 1.7rem;
  }

  .corporate-cta p{
    font-size: 1rem;
    line-height: 1.7;
  }

  .corporate-cta .nav-cta{
    width: 100%;
    padding: 15px 20px;
  }

}


/* ========================================
   FOOTER
======================================== */

/* =========================
   FOOTER 
========================= */

.footer {
  background: #061a3a;
  color: white;
  padding-top: 70px;
}

.footer-grid {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding-bottom: 50px;
}

.footer h3 {
  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer a:hover {
  color: white;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #8ec2fd;
  background: rgba(142, 194, 253, 0.12);
  border: 1px solid rgba(142, 194, 253, 0.35);
  white-space: nowrap;
}

.footer-main {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-main p {
  margin-bottom: 20px;
}

.footer-meta {
  padding: 25px 20px;
}

.meta-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  list-style: none;
}

.meta-navigation a {
  font-size: 14px;
}

.footer-copy {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

/* BANDERA */

.flag-icon-inline {
  width: 22px;
  vertical-align: middle;
  margin-left: 8px;
  border-radius: 3px;
}


/* ========================================
   WHATSAPP
======================================== */

.whatsapp {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: #25D366;
  color: white;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp:hover {
  transform: translateY(-3px);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 992px) {
  .nav {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    padding: 40px;
  }

  .card h1 {
    font-size: 34px;
  }
    .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    padding: 30px;
  }

  .experiencia h2,
  section h3 {
    font-size: 28px;
  }

  .meta-navigation {
    flex-direction: column;
    align-items: center;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
}